package com.atguigu.realtime.common;

/**
 * @auther yuzehua
 * @date 2022/10/24 - 19:24
 */
public class Constant {

    public static final String KAFKA_BROKERS = "hadoop162:9092,hadoop163:9092,hadoop164:9092";

    public static final String TOPIC_ODS_DB = "topic_db";
    public static final String TOPIC_ODS_LOG = "topic_log";

    public static final String PHOENIX_DRIVER = "org.apache.phoenix.jdbc.PhoenixDriver";
    public static final String PHOENIX_URL = "jdbc:phoenix:hadoop162,hadoop163,hadoop164:2181";
    public static final String MYSQL_DRIVER = "com.mysql.cj.jdbc.Driver";
    public static final String MYSQL_URL = "jdbc:mysql://hadoop162:3306/edu_config?useSSL=false";

    public static final String TOPIC_DWD_TRAFFIC_START = "dwd_traffic_start";
    public static final String TOPIC_DWD_TRAFFIC_DISPLAY = "dwd_traffic_display";
    public static final String TOPIC_DWD_TRAFFIC_ERR = "dwd_traffic_err";
    public static final String TOPIC_DWD_TRAFFIC_ACTION = "dwd_traffic_action";
    public static final String TOPIC_DWD_TRAFFIC_PAGE = "dwd_traffic_page";
    public static final String TOPIC_DWD_PLAY_USER_CHAPTER_PROCESS = "dwd_play_user_chapter_process";
    public static final String TOPIC_DWD_REVIEW_INFO = "dwd_review_info";


    public static final String CLICKHOUSE_DRIVER = "com.clickhouse.jdbc.ClickHouseDriver";
    public static final String CLICKHOUSE_URL = "jdbc:clickhouse://hadoop162:8123/edu";


    public static final String REDIS_HOST = "hadoop162";
    public static final int REDIS_PORT = 6379;
    public static final int TWO_DAY = 2 * 24 * 60 * 60;
    public static final String TOPIC_DWD_ORDER_DETAIL = "dwd_order_detail";
    public static final String TOPIC_DWD_ORDER_INFO = "dwd_order_info";
    public static final String TOPIC_DWD_PAYMENT_INFO = "dwd_payment_info";

    public static final String TOPIC_DWD_USER_CART_ADD = "dwd_user_cart_add";
}
